DioDocs for PDF
GetRect(IPdfDict,PdfName,Nullable<RectangleF>) メソッド

DS.Documents.Pdf アセンブリ > GrapeCity.Documents.Pdf.Spec 名前空間 > IPdfDictExt クラス > GetRect メソッド : GetRect(IPdfDict,PdfName,Nullable<RectangleF>) メソッド
現在の辞書。
取得する値のキー。
デフォルト値。
指定されたキーに関連付けられたSystem.Drawing.RectangleFを取得します(PDFでは、System.Drawing.RectangleFが、4つのfloatの配列として表される必要があります)。

値が存在しないか、System.Drawing.RectangleFに変換できない場合、defValueを取得します。

値をSystem.Drawing.RectangleFに変換できない場合、GrapeCity.Documents.Pdf.GcPdfDocument.ParserLogに警告を追加します。
シンタックス
'宣言
 
Public Overloads Shared Function GetRect( _
   ByVal dict As IPdfDict, _
   ByVal key As PdfName, _
   ByVal defValue As System.Nullable(Of RectangleF) _
) As System.Nullable(Of RectangleF)
public static System.Nullable<RectangleF> GetRect( 
   IPdfDict dict,
   PdfName key,
   System.Nullable<RectangleF> defValue
)

パラメータ

dict
現在の辞書。
key
取得する値のキー。
defValue
デフォルト値。

戻り値の型

指定されたキーに関連付けられた値。
参照

IPdfDictExt クラス
IPdfDictExt メンバ
オーバーロード一覧